{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Fabio Franchino\Dropbox\Project EU Fiscal Policy\3 Bargaining outcomes\Sent to PSRM\third submission\Replication\tables_1_2.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}12 Apr 2021, 09:54:14
{txt}
{com}. 
. ***************** Replication of Franchino, Fabio, and Camilla Mariotto. “Bargaining Outcomes and Success in EU Economic Governance Reforms”. Political Science Research and Methods.
. 
. * Legend:
. * nbs "nash bargaining solution, with reference point"
. * nbs_norp "nash bargaining solution, without reference point"
. * comp "compromise model, without reference point"
. * comp2 "compromise model, 6-country power in QMV without reference point"
. * comp3 "compromise model (Thomson power weights), without reference point"
. * m_mean "mean model solution"
. * minimax "minimax solution"
. * PROCrp "procedural model with reference point"
. * PROCnorp "procedural model without reference point"
. 
. ***************** Table 1
. version 15
{txt}
{com}. pause on
{txt}
{com}. 
. use data_signtest.dta, clear
{txt}
{com}. 
. * Cells for Table 1 (means and st.dev)
. * The sum commands listed below reproduce the means and standard deviations reported in Table 1
. 
. sum outcome /* mean and standard deviation - row 1 column 1 in Table 1 */

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 5}outcome {c |}{res}         35    59.28571    37.90745          0        100
{txt}
{com}. 
. gen PROCrpAD=abs( PROCrp - outcome )
{txt}
{com}. label variable PROCrpAD "=abs( PROCrp - outcome )"
{txt}
{com}. sum PROCrpAD /* mean and standard deviation - row 2 column 1 in Table 1 */

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}PROCrpAD {c |}{res}         35    31.42857    38.51225          0        100
{txt}
{com}. 
. sum PROCrp /* mean and standard deviation - row 2 column 2 in Table 1 */

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}PROCrp {c |}{res}         35    33.57143    42.85014          0        100
{txt}
{com}. 
. gen PROCnorpAD = abs( PROCnorp - outcome )
{txt}
{com}. label variable PROCnorpAD " =abs( PROCnorp - outcome )"
{txt}
{com}. sum PROCnorpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}PROCnorpAD {c |}{res}         35          20    30.19544          0        100
{txt}
{com}. 
. sum PROCnorp

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}PROCnorp {c |}{res}         35    50.71429    42.65358          0        100
{txt}
{com}. 
. gen PROCnorpPROCrpAD = abs( PROCnorp - PROCrp )
{txt}
{com}. label variable PROCnorpPROCrpAD " =abs( PROCnorp - PROCrp )"
{txt}
{com}. sum PROCnorpPROCrpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
PROCnorpPR~D {c |}{res}         35    17.14286      34.177          0        100
{txt}
{com}. 
. gen nbsAD=abs( nbs - outcome )
{txt}
{com}. label variable nbsAD "=abs( nbs - outcome )"
{txt}
{com}. sum nbsAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}nbsAD {c |}{res}         35    47.85714    39.00689          0        100
{txt}
{com}. 
. sum nbs

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}nbs {c |}{res}         35    31.42857    37.80623          0        100
{txt}
{com}. 
. gen nbsPROCrpAD = abs( nbs - PROCrp )
{txt}
{com}. label variable nbsPROCrpAD " =abs( nbs - PROCrp )"
{txt}
{com}. sum nbsPROCrpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}nbsPROCrpAD {c |}{res}         35    44.65714    40.83463          0        100
{txt}
{com}. 
. gen nbsPROCnorpAD = abs( nbs - PROCnorp )
{txt}
{com}. label variable nbsPROCnorpAD " =abs( nbs - PROCnorp )"
{txt}
{com}. sum nbsPROCnorpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
nbsPROCnor~D {c |}{res}         35    50.48571    41.26127          0        100
{txt}
{com}. 
. gen nbs_norpAD=abs( nbs_norp - outcome )
{txt}
{com}. label variable nbs_norpAD "=abs( nbs_norp - outcome )"
{txt}
{com}. sum nbs_norpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}nbs_norpAD {c |}{res}         35    20.68571    22.01573          0         96
{txt}
{com}. 
. sum nbs_norp

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}nbs_norp {c |}{res}         35    52.37143    30.01675          4         96
{txt}
{com}. 
. gen nbs_norpPROCrpAD = abs( nbs_norp - PROCrp )
{txt}
{com}. label variable nbs_norpPROCrpAD " =abs( nbs_norp - PROCrp )"
{txt}
{com}. sum nbs_norpPROCrpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
nbs_norpPR~D {c |}{res}         35    26.05714    25.40373          0         88
{txt}
{com}. 
. gen nbs_norpPROCnorpAD = abs( nbs_norp - PROCnorp )
{txt}
{com}. label variable nbs_norpPROCnorpAD " =abs( nbs_norp - PROCnorp )"
{txt}
{com}. sum nbs_norpPROCnorpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
nbs_no~orpAD {c |}{res}         35    15.54286    14.09076          0         49
{txt}
{com}. 
. gen nbs_norpnbsAD = abs( nbs_norp - nbs )
{txt}
{com}. label variable nbs_norpnbsAD " =abs( nbs_norp - nbs )"
{txt}
{com}. sum nbs_norpnbsAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
nbs_norpnb~D {c |}{res}         35    45.91429    32.52815          4         96
{txt}
{com}. 
. gen compAD=abs( comp - outcome )
{txt}
{com}. label variable compAD "=abs( comp - outcome )"
{txt}
{com}. sum compAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}compAD {c |}{res}         35    18.45714    17.46651          0         62
{txt}
{com}. 
. sum comp

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}comp {c |}{res}         35    55.51429    28.33972          0        100
{txt}
{com}. 
. gen compPROCrpAD = abs( comp - PROCrp )
{txt}
{com}. label variable compPROCrpAD " =abs( comp - PROCrp )"
{txt}
{com}. sum compPROCrpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
compPROCrpAD {c |}{res}         35    28.17143    25.64977          0         88
{txt}
{com}. 
. gen compPROCnorpAD = abs( comp - PROCnorp )
{txt}
{com}. label variable compPROCnorpAD " =abs( comp - PROCnorp )"
{txt}
{com}. sum compPROCnorpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
compPROCno~D {c |}{res}         35    18.57143     17.2989          0         54
{txt}
{com}. 
. gen compnbsAD = abs( comp - nbs )
{txt}
{com}. label variable compnbsAD " =abs( comp - nbs )"
{txt}
{com}. sum compnbsAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 3}compnbsAD {c |}{res}         35    43.22857    32.05518          0        100
{txt}
{com}. 
. gen compnbs_norpAD = abs( comp - nbs_norp )
{txt}
{com}. label variable compnbs_norpAD " =abs( comp - nbs_norp )"
{txt}
{com}. sum compnbs_norpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
compnbs_no~D {c |}{res}         35    7.542857     9.05325          0         34
{txt}
{com}. 
. gen m_meanAD=abs( m_mean - outcome )
{txt}
{com}. label variable m_meanAD "=abs( m_mean - outcome )"
{txt}
{com}. sum m_meanAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}m_meanAD {c |}{res}         35    20.25714    22.57581          0         97
{txt}
{com}. 
. sum m_mean

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}m_mean {c |}{res}         35        52.8    31.03205          3         96
{txt}
{com}. 
. gen m_meanPROCrpAD = abs( m_mean - PROCrp )
{txt}
{com}. label variable m_meanPROCrpAD " =abs( m_mean - PROCrp )"
{txt}
{com}. sum m_meanPROCrpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
m_meanPROC~D {c |}{res}         35        25.8    26.50949          0         90
{txt}
{com}. 
. gen m_meanPROCnorpAD = abs( m_mean - PROCnorp )
{txt}
{com}. label variable m_meanPROCnorpAD " =abs( m_mean - PROCnorp )"
{txt}
{com}. sum m_meanPROCnorpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
m_mean~orpAD {c |}{res}         35    14.54286    13.92066          0         49
{txt}
{com}. 
. gen m_meannbsAD = abs( m_mean - nbs )
{txt}
{com}. label variable m_meannbsAD " =abs( m_mean - nbs )"
{txt}
{com}. sum m_meannbsAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}m_meannbsAD {c |}{res}         35    46.51429    33.32317          4         97
{txt}
{com}. 
. gen m_meannbs_norpAD = abs( m_mean - nbs_norp )
{txt}
{com}. label variable m_meannbs_norpAD " =abs( m_mean - nbs_norp )"
{txt}
{com}. sum m_meannbs_norpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
m_meannbs_~D {c |}{res}         35    1.342857    1.186762          0          5
{txt}
{com}. 
. gen m_meancompAD = abs( m_mean - comp )
{txt}
{com}. label variable m_meancompAD " =abs( m_mean - comp )"
{txt}
{com}. sum m_meancompAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
m_meancompAD {c |}{res}         35    7.857143    9.595167          0         35
{txt}
{com}. 
. gen minimaxAD=abs( minimax - outcome )
{txt}
{com}. label variable minimaxAD "=abs( minimax - outcome )"
{txt}
{com}. sum minimaxAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 3}minimaxAD {c |}{res}         35    30.71429    23.05055          0         53
{txt}
{com}. 
. sum minimax

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 5}minimax {c |}{res}         35    49.82857    1.773758         47         53
{txt}
{com}. 
. gen minimaxPROCrpAD = abs( minimax - PROCrp )
{txt}
{com}. label variable minimaxPROCrpAD " =abs( minimax - PROCrp )"
{txt}
{com}. sum minimaxPROCrpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
minimaxPRO~D {c |}{res}         35    42.31429    16.68527          0         53
{txt}
{com}. 
. gen minimaxPROCnorpAD = abs( minimax - PROCnorp )
{txt}
{com}. label variable minimaxPROCnorpAD " =abs( minimax - PROCnorp )"
{txt}
{com}. sum minimaxPROCnorpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
minima~orpAD {c |}{res}         35    36.77143     21.0798          0         53
{txt}
{com}. 
. gen minimaxnbsAD = abs( minimax - nbs )
{txt}
{com}. label variable minimaxnbsAD " =abs( minimax - nbs )"
{txt}
{com}. sum minimaxnbsAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
minimaxnbsAD {c |}{res}         35    37.08571    18.20693          2         53
{txt}
{com}. 
. gen minimaxnbs_norpAD = abs( minimax - nbs_norp )
{txt}
{com}. label variable minimaxnbs_norpAD " =abs( minimax - nbs_norp )"
{txt}
{com}. sum minimaxnbs_norpAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
minimaxn~pAD {c |}{res}         35    24.71429    17.00964          0         49
{txt}
{com}. 
. gen minimaxcompAD = abs( minimax - comp )
{txt}
{com}. label variable minimaxcompAD " =abs( minimax - comp )"
{txt}
{com}. sum minimaxcompAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
minimaxcom~D {c |}{res}         35    22.54286    17.34654          0         50
{txt}
{com}. 
. gen minimaxm_meanAD = abs( minimax - m_mean )
{txt}
{com}. label variable minimaxm_meanAD " =abs( minimax - m_mean )"
{txt}
{com}. sum minimaxm_meanAD

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
minimaxm_m~D {c |}{res}         35    25.77143    17.30706          0         50
{txt}
{com}. 
. * Two-sided sign tests that the median of the differences is different from zero
. * column 1
. signtest        outcome =       sq /* Two-sided sign test row 1 column 1 */

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        28{col 29}        14
    {txt}negative {c |}{res}{col 17}         0{col 29}        14
        {txt}zero {c |}{res}{col 17}         7{col 29}         7
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - sq = 0 vs.
  Ha: median of outcome - sq > 0
      Pr(#positive >= {res}28{txt}) =
         Binomial(n = {res}28{txt}, x >= {res}28{txt}, p = 0.5) = {res} 0.0000

{txt}  Ho: median of outcome - sq = 0 vs.
  Ha: median of outcome - sq < 0
      Pr(#negative >= {res}0{txt}) =
         Binomial(n = {res}28{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}Two-sided test:
  Ho: median of outcome - sq = 0 vs.
  Ha: median of outcome - sq != 0
      Pr(#positive >= {res}28{txt} or #negative >= {res}28{txt}) =
         min(1, 2*Binomial(n = {res}28{txt}, x >= {res}28{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. 
. signtest        outcome =       PROCrp /* Two-sided sign test row 2 column 1 */

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        14{col 29}       8.5
    {txt}negative {c |}{res}{col 17}         3{col 29}       8.5
        {txt}zero {c |}{res}{col 17}        18{col 29}        18
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - PROCrp = 0 vs.
  Ha: median of outcome - PROCrp > 0
      Pr(#positive >= {res}14{txt}) =
         Binomial(n = {res}17{txt}, x >= {res}14{txt}, p = 0.5) = {res} 0.0064

{txt}  Ho: median of outcome - PROCrp = 0 vs.
  Ha: median of outcome - PROCrp < 0
      Pr(#negative >= {res}3{txt}) =
         Binomial(n = {res}17{txt}, x >= {res}3{txt}, p = 0.5) = {res} 0.9988

{txt}Two-sided test:
  Ho: median of outcome - PROCrp = 0 vs.
  Ha: median of outcome - PROCrp != 0
      Pr(#positive >= {res}14{txt} or #negative >= {res}14{txt}) =
         min(1, 2*Binomial(n = {res}17{txt}, x >= {res}14{txt}, p = 0.5)) = {res} 0.0127
{txt}
{com}. signtest        outcome =       PROCnorp /* Two-sided sign test row 3 column 1 */

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         8{col 29}       6.5
    {txt}negative {c |}{res}{col 17}         5{col 29}       6.5
        {txt}zero {c |}{res}{col 17}        22{col 29}        22
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - PROCnorp = 0 vs.
  Ha: median of outcome - PROCnorp > 0
      Pr(#positive >= {res}8{txt}) =
         Binomial(n = {res}13{txt}, x >= {res}8{txt}, p = 0.5) = {res} 0.2905

{txt}  Ho: median of outcome - PROCnorp = 0 vs.
  Ha: median of outcome - PROCnorp < 0
      Pr(#negative >= {res}5{txt}) =
         Binomial(n = {res}13{txt}, x >= {res}5{txt}, p = 0.5) = {res} 0.8666

{txt}Two-sided test:
  Ho: median of outcome - PROCnorp = 0 vs.
  Ha: median of outcome - PROCnorp != 0
      Pr(#positive >= {res}8{txt} or #negative >= {res}8{txt}) =
         min(1, 2*Binomial(n = {res}13{txt}, x >= {res}8{txt}, p = 0.5)) = {res} 0.5811
{txt}
{com}. signtest        outcome =       nbs

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}        14
    {txt}negative {c |}{res}{col 17}        10{col 29}        14
        {txt}zero {c |}{res}{col 17}         7{col 29}         7
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - nbs = 0 vs.
  Ha: median of outcome - nbs > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}28{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.0925

{txt}  Ho: median of outcome - nbs = 0 vs.
  Ha: median of outcome - nbs < 0
      Pr(#negative >= {res}10{txt}) =
         Binomial(n = {res}28{txt}, x >= {res}10{txt}, p = 0.5) = {res} 0.9564

{txt}Two-sided test:
  Ho: median of outcome - nbs = 0 vs.
  Ha: median of outcome - nbs != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}28{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.1849
{txt}
{com}. signtest        outcome =       nbs_norp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        20{col 29}        16
    {txt}negative {c |}{res}{col 17}        12{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - nbs_norp = 0 vs.
  Ha: median of outcome - nbs_norp > 0
      Pr(#positive >= {res}20{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}20{txt}, p = 0.5) = {res} 0.1077

{txt}  Ho: median of outcome - nbs_norp = 0 vs.
  Ha: median of outcome - nbs_norp < 0
      Pr(#negative >= {res}12{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}12{txt}, p = 0.5) = {res} 0.9449

{txt}Two-sided test:
  Ho: median of outcome - nbs_norp = 0 vs.
  Ha: median of outcome - nbs_norp != 0
      Pr(#positive >= {res}20{txt} or #negative >= {res}20{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}20{txt}, p = 0.5)) = {res} 0.2153
{txt}
{com}. signtest        outcome =       comp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}        15
    {txt}negative {c |}{res}{col 17}        12{col 29}        15
        {txt}zero {c |}{res}{col 17}         5{col 29}         5
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - comp = 0 vs.
  Ha: median of outcome - comp > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}30{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.1808

{txt}  Ho: median of outcome - comp = 0 vs.
  Ha: median of outcome - comp < 0
      Pr(#negative >= {res}12{txt}) =
         Binomial(n = {res}30{txt}, x >= {res}12{txt}, p = 0.5) = {res} 0.8998

{txt}Two-sided test:
  Ho: median of outcome - comp = 0 vs.
  Ha: median of outcome - comp != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}30{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.3616
{txt}
{com}. signtest        outcome =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        19{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        12{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - m_mean = 0 vs.
  Ha: median of outcome - m_mean > 0
      Pr(#positive >= {res}19{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}19{txt}, p = 0.5) = {res} 0.1405

{txt}  Ho: median of outcome - m_mean = 0 vs.
  Ha: median of outcome - m_mean < 0
      Pr(#negative >= {res}12{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}12{txt}, p = 0.5) = {res} 0.9252

{txt}Two-sided test:
  Ho: median of outcome - m_mean = 0 vs.
  Ha: median of outcome - m_mean != 0
      Pr(#positive >= {res}19{txt} or #negative >= {res}19{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}19{txt}, p = 0.5)) = {res} 0.2810
{txt}
{com}. signtest        outcome =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}        13
    {txt}negative {c |}{res}{col 17}         8{col 29}        13
        {txt}zero {c |}{res}{col 17}         9{col 29}         9
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of outcome - minimax = 0 vs.
  Ha: median of outcome - minimax > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}26{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.0378

{txt}  Ho: median of outcome - minimax = 0 vs.
  Ha: median of outcome - minimax < 0
      Pr(#negative >= {res}8{txt}) =
         Binomial(n = {res}26{txt}, x >= {res}8{txt}, p = 0.5) = {res} 0.9855

{txt}Two-sided test:
  Ho: median of outcome - minimax = 0 vs.
  Ha: median of outcome - minimax != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}26{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.0755
{txt}
{com}. 
. * column 2
. signtest        sq      =       PROCrp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}       7.5
    {txt}negative {c |}{res}{col 17}        15{col 29}       7.5
        {txt}zero {c |}{res}{col 17}        20{col 29}        20
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - PROCrp = 0 vs.
  Ha: median of sq - PROCrp > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}15{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - PROCrp = 0 vs.
  Ha: median of sq - PROCrp < 0
      Pr(#negative >= {res}15{txt}) =
         Binomial(n = {res}15{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - PROCrp = 0 vs.
  Ha: median of sq - PROCrp != 0
      Pr(#positive >= {res}15{txt} or #negative >= {res}15{txt}) =
         min(1, 2*Binomial(n = {res}15{txt}, x >= {res}15{txt}, p = 0.5)) = {res} 0.0001
{txt}
{com}. signtest        sq      =       PROCnorp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}      11.5
    {txt}negative {c |}{res}{col 17}        23{col 29}      11.5
        {txt}zero {c |}{res}{col 17}        12{col 29}        12
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - PROCnorp = 0 vs.
  Ha: median of sq - PROCnorp > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}23{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - PROCnorp = 0 vs.
  Ha: median of sq - PROCnorp < 0
      Pr(#negative >= {res}23{txt}) =
         Binomial(n = {res}23{txt}, x >= {res}23{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - PROCnorp = 0 vs.
  Ha: median of sq - PROCnorp != 0
      Pr(#positive >= {res}23{txt} or #negative >= {res}23{txt}) =
         min(1, 2*Binomial(n = {res}23{txt}, x >= {res}23{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. signtest        sq      =       nbs

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}         8
    {txt}negative {c |}{res}{col 17}        16{col 29}         8
        {txt}zero {c |}{res}{col 17}        19{col 29}        19
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - nbs = 0 vs.
  Ha: median of sq - nbs > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}16{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - nbs = 0 vs.
  Ha: median of sq - nbs < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}16{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - nbs = 0 vs.
  Ha: median of sq - nbs != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}16{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. signtest        sq      =       nbs_norp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}      17.5
    {txt}negative {c |}{res}{col 17}        35{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - nbs_norp = 0 vs.
  Ha: median of sq - nbs_norp > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - nbs_norp = 0 vs.
  Ha: median of sq - nbs_norp < 0
      Pr(#negative >= {res}35{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}35{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - nbs_norp = 0 vs.
  Ha: median of sq - nbs_norp != 0
      Pr(#positive >= {res}35{txt} or #negative >= {res}35{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}35{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. signtest        sq      =       comp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        33{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - comp = 0 vs.
  Ha: median of sq - comp > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - comp = 0 vs.
  Ha: median of sq - comp < 0
      Pr(#negative >= {res}33{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}33{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - comp = 0 vs.
  Ha: median of sq - comp != 0
      Pr(#positive >= {res}33{txt} or #negative >= {res}33{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}33{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. signtest        sq      =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}      17.5
    {txt}negative {c |}{res}{col 17}        35{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - m_mean = 0 vs.
  Ha: median of sq - m_mean > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - m_mean = 0 vs.
  Ha: median of sq - m_mean < 0
      Pr(#negative >= {res}35{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}35{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - m_mean = 0 vs.
  Ha: median of sq - m_mean != 0
      Pr(#positive >= {res}35{txt} or #negative >= {res}35{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}35{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. signtest        sq      =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}      17.5
    {txt}negative {c |}{res}{col 17}        35{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of sq - minimax = 0 vs.
  Ha: median of sq - minimax > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of sq - minimax = 0 vs.
  Ha: median of sq - minimax < 0
      Pr(#negative >= {res}35{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}35{txt}, p = 0.5) = {res} 0.0000

{txt}Two-sided test:
  Ho: median of sq - minimax = 0 vs.
  Ha: median of sq - minimax != 0
      Pr(#positive >= {res}35{txt} or #negative >= {res}35{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}35{txt}, p = 0.5)) = {res} 0.0000
{txt}
{com}. 
. * column 3
. signtest        PROCrp  =       PROCnorp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         0{col 29}         4
    {txt}negative {c |}{res}{col 17}         8{col 29}         4
        {txt}zero {c |}{res}{col 17}        27{col 29}        27
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrp - PROCnorp = 0 vs.
  Ha: median of PROCrp - PROCnorp > 0
      Pr(#positive >= {res}0{txt}) =
         Binomial(n = {res}8{txt}, x >= {res}0{txt}, p = 0.5) = {res} 1.0000

{txt}  Ho: median of PROCrp - PROCnorp = 0 vs.
  Ha: median of PROCrp - PROCnorp < 0
      Pr(#negative >= {res}8{txt}) =
         Binomial(n = {res}8{txt}, x >= {res}8{txt}, p = 0.5) = {res} 0.0039

{txt}Two-sided test:
  Ho: median of PROCrp - PROCnorp = 0 vs.
  Ha: median of PROCrp - PROCnorp != 0
      Pr(#positive >= {res}8{txt} or #negative >= {res}8{txt}) =
         min(1, 2*Binomial(n = {res}8{txt}, x >= {res}8{txt}, p = 0.5)) = {res} 0.0078
{txt}
{com}. signtest        PROCrp  =       nbs

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}        12
    {txt}negative {c |}{res}{col 17}        13{col 29}        12
        {txt}zero {c |}{res}{col 17}        11{col 29}        11
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrp - nbs = 0 vs.
  Ha: median of PROCrp - nbs > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}24{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.7294

{txt}  Ho: median of PROCrp - nbs = 0 vs.
  Ha: median of PROCrp - nbs < 0
      Pr(#negative >= {res}13{txt}) =
         Binomial(n = {res}24{txt}, x >= {res}13{txt}, p = 0.5) = {res} 0.4194

{txt}Two-sided test:
  Ho: median of PROCrp - nbs = 0 vs.
  Ha: median of PROCrp - nbs != 0
      Pr(#positive >= {res}13{txt} or #negative >= {res}13{txt}) =
         min(1, 2*Binomial(n = {res}24{txt}, x >= {res}13{txt}, p = 0.5)) = {res} 0.8388
{txt}
{com}. signtest        PROCrp  =       nbs_norp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}        17
    {txt}negative {c |}{res}{col 17}        23{col 29}        17
        {txt}zero {c |}{res}{col 17}         1{col 29}         1
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrp - nbs_norp = 0 vs.
  Ha: median of PROCrp - nbs_norp > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}34{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9878

{txt}  Ho: median of PROCrp - nbs_norp = 0 vs.
  Ha: median of PROCrp - nbs_norp < 0
      Pr(#negative >= {res}23{txt}) =
         Binomial(n = {res}34{txt}, x >= {res}23{txt}, p = 0.5) = {res} 0.0288

{txt}Two-sided test:
  Ho: median of PROCrp - nbs_norp = 0 vs.
  Ha: median of PROCrp - nbs_norp != 0
      Pr(#positive >= {res}23{txt} or #negative >= {res}23{txt}) =
         min(1, 2*Binomial(n = {res}34{txt}, x >= {res}23{txt}, p = 0.5)) = {res} 0.0576
{txt}
{com}. signtest        PROCrp  =       comp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        10{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        21{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrp - comp = 0 vs.
  Ha: median of PROCrp - comp > 0
      Pr(#positive >= {res}10{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}10{txt}, p = 0.5) = {res} 0.9853

{txt}  Ho: median of PROCrp - comp = 0 vs.
  Ha: median of PROCrp - comp < 0
      Pr(#negative >= {res}21{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}21{txt}, p = 0.5) = {res} 0.0354

{txt}Two-sided test:
  Ho: median of PROCrp - comp = 0 vs.
  Ha: median of PROCrp - comp != 0
      Pr(#positive >= {res}21{txt} or #negative >= {res}21{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}21{txt}, p = 0.5)) = {res} 0.0708
{txt}
{com}. signtest        PROCrp  =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        10{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        23{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrp - m_mean = 0 vs.
  Ha: median of PROCrp - m_mean > 0
      Pr(#positive >= {res}10{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}10{txt}, p = 0.5) = {res} 0.9932

{txt}  Ho: median of PROCrp - m_mean = 0 vs.
  Ha: median of PROCrp - m_mean < 0
      Pr(#negative >= {res}23{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}23{txt}, p = 0.5) = {res} 0.0175

{txt}Two-sided test:
  Ho: median of PROCrp - m_mean = 0 vs.
  Ha: median of PROCrp - m_mean != 0
      Pr(#positive >= {res}23{txt} or #negative >= {res}23{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}23{txt}, p = 0.5)) = {res} 0.0351
{txt}
{com}. signtest        PROCrp  =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}        16
    {txt}negative {c |}{res}{col 17}        21{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrp - minimax = 0 vs.
  Ha: median of PROCrp - minimax > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9749

{txt}  Ho: median of PROCrp - minimax = 0 vs.
  Ha: median of PROCrp - minimax < 0
      Pr(#negative >= {res}21{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}21{txt}, p = 0.5) = {res} 0.0551

{txt}Two-sided test:
  Ho: median of PROCrp - minimax = 0 vs.
  Ha: median of PROCrp - minimax != 0
      Pr(#positive >= {res}21{txt} or #negative >= {res}21{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}21{txt}, p = 0.5)) = {res} 0.1102
{txt}
{com}. 
. * column 4
. signtest        PROCnorp        =       nbs

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        16{col 29}        14
    {txt}negative {c |}{res}{col 17}        12{col 29}        14
        {txt}zero {c |}{res}{col 17}         7{col 29}         7
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorp - nbs = 0 vs.
  Ha: median of PROCnorp - nbs > 0
      Pr(#positive >= {res}16{txt}) =
         Binomial(n = {res}28{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.2858

{txt}  Ho: median of PROCnorp - nbs = 0 vs.
  Ha: median of PROCnorp - nbs < 0
      Pr(#negative >= {res}12{txt}) =
         Binomial(n = {res}28{txt}, x >= {res}12{txt}, p = 0.5) = {res} 0.8275

{txt}Two-sided test:
  Ho: median of PROCnorp - nbs = 0 vs.
  Ha: median of PROCnorp - nbs != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}28{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 0.5716
{txt}
{com}. signtest        PROCnorp        =       nbs_norp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        16{col 29}        16
    {txt}negative {c |}{res}{col 17}        16{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorp - nbs_norp = 0 vs.
  Ha: median of PROCnorp - nbs_norp > 0
      Pr(#positive >= {res}16{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5700

{txt}  Ho: median of PROCnorp - nbs_norp = 0 vs.
  Ha: median of PROCnorp - nbs_norp < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5700

{txt}Two-sided test:
  Ho: median of PROCnorp - nbs_norp = 0 vs.
  Ha: median of PROCnorp - nbs_norp != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        PROCnorp        =       comp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        15{col 29}      14.5
    {txt}negative {c |}{res}{col 17}        14{col 29}      14.5
        {txt}zero {c |}{res}{col 17}         6{col 29}         6
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorp - comp = 0 vs.
  Ha: median of PROCnorp - comp > 0
      Pr(#positive >= {res}15{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.5000

{txt}  Ho: median of PROCnorp - comp = 0 vs.
  Ha: median of PROCnorp - comp < 0
      Pr(#negative >= {res}14{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}14{txt}, p = 0.5) = {res} 0.6445

{txt}Two-sided test:
  Ho: median of PROCnorp - comp = 0 vs.
  Ha: median of PROCnorp - comp != 0
      Pr(#positive >= {res}15{txt} or #negative >= {res}15{txt}) =
         min(1, 2*Binomial(n = {res}29{txt}, x >= {res}15{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        PROCnorp        =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        15{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        16{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorp - m_mean = 0 vs.
  Ha: median of PROCnorp - m_mean > 0
      Pr(#positive >= {res}15{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.6399

{txt}  Ho: median of PROCnorp - m_mean = 0 vs.
  Ha: median of PROCnorp - m_mean < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5000

{txt}Two-sided test:
  Ho: median of PROCnorp - m_mean = 0 vs.
  Ha: median of PROCnorp - m_mean != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        PROCnorp        =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        16{col 29}      14.5
    {txt}negative {c |}{res}{col 17}        13{col 29}      14.5
        {txt}zero {c |}{res}{col 17}         6{col 29}         6
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorp - minimax = 0 vs.
  Ha: median of PROCnorp - minimax > 0
      Pr(#positive >= {res}16{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.3555

{txt}  Ho: median of PROCnorp - minimax = 0 vs.
  Ha: median of PROCnorp - minimax < 0
      Pr(#negative >= {res}13{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}13{txt}, p = 0.5) = {res} 0.7709

{txt}Two-sided test:
  Ho: median of PROCnorp - minimax = 0 vs.
  Ha: median of PROCnorp - minimax != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}29{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 0.7111
{txt}
{com}. 
. * column 5
. signtest        nbs     =       nbs_norp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        13{col 29}      17.5
    {txt}negative {c |}{res}{col 17}        22{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs - nbs_norp = 0 vs.
  Ha: median of nbs - nbs_norp > 0
      Pr(#positive >= {res}13{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}13{txt}, p = 0.5) = {res} 0.9552

{txt}  Ho: median of nbs - nbs_norp = 0 vs.
  Ha: median of nbs - nbs_norp < 0
      Pr(#negative >= {res}22{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}22{txt}, p = 0.5) = {res} 0.0877

{txt}Two-sided test:
  Ho: median of nbs - nbs_norp = 0 vs.
  Ha: median of nbs - nbs_norp != 0
      Pr(#positive >= {res}22{txt} or #negative >= {res}22{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}22{txt}, p = 0.5)) = {res} 0.1755
{txt}
{com}. signtest        nbs     =       comp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        12{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        21{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs - comp = 0 vs.
  Ha: median of nbs - comp > 0
      Pr(#positive >= {res}12{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}12{txt}, p = 0.5) = {res} 0.9599

{txt}  Ho: median of nbs - comp = 0 vs.
  Ha: median of nbs - comp < 0
      Pr(#negative >= {res}21{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}21{txt}, p = 0.5) = {res} 0.0814

{txt}Two-sided test:
  Ho: median of nbs - comp = 0 vs.
  Ha: median of nbs - comp != 0
      Pr(#positive >= {res}21{txt} or #negative >= {res}21{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}21{txt}, p = 0.5)) = {res} 0.1628
{txt}
{com}. signtest        nbs     =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        13{col 29}      17.5
    {txt}negative {c |}{res}{col 17}        22{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs - m_mean = 0 vs.
  Ha: median of nbs - m_mean > 0
      Pr(#positive >= {res}13{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}13{txt}, p = 0.5) = {res} 0.9552

{txt}  Ho: median of nbs - m_mean = 0 vs.
  Ha: median of nbs - m_mean < 0
      Pr(#negative >= {res}22{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}22{txt}, p = 0.5) = {res} 0.0877

{txt}Two-sided test:
  Ho: median of nbs - m_mean = 0 vs.
  Ha: median of nbs - m_mean != 0
      Pr(#positive >= {res}22{txt} or #negative >= {res}22{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}22{txt}, p = 0.5)) = {res} 0.1755
{txt}
{com}. signtest        nbs     =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}      17.5
    {txt}negative {c |}{res}{col 17}        24{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs - minimax = 0 vs.
  Ha: median of nbs - minimax > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9917

{txt}  Ho: median of nbs - minimax = 0 vs.
  Ha: median of nbs - minimax < 0
      Pr(#negative >= {res}24{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}24{txt}, p = 0.5) = {res} 0.0205

{txt}Two-sided test:
  Ho: median of nbs - minimax = 0 vs.
  Ha: median of nbs - minimax != 0
      Pr(#positive >= {res}24{txt} or #negative >= {res}24{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}24{txt}, p = 0.5)) = {res} 0.0410
{txt}
{com}. 
. * column 6
. signtest        nbs_norp        =       comp

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        14{col 29}        15
    {txt}negative {c |}{res}{col 17}        16{col 29}        15
        {txt}zero {c |}{res}{col 17}         5{col 29}         5
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs_norp - comp = 0 vs.
  Ha: median of nbs_norp - comp > 0
      Pr(#positive >= {res}14{txt}) =
         Binomial(n = {res}30{txt}, x >= {res}14{txt}, p = 0.5) = {res} 0.7077

{txt}  Ho: median of nbs_norp - comp = 0 vs.
  Ha: median of nbs_norp - comp < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}30{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.4278

{txt}Two-sided test:
  Ho: median of nbs_norp - comp = 0 vs.
  Ha: median of nbs_norp - comp != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}30{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 0.8555
{txt}
{com}. signtest        nbs_norp        =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         9{col 29}        13
    {txt}negative {c |}{res}{col 17}        17{col 29}        13
        {txt}zero {c |}{res}{col 17}         9{col 29}         9
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs_norp - m_mean = 0 vs.
  Ha: median of nbs_norp - m_mean > 0
      Pr(#positive >= {res}9{txt}) =
         Binomial(n = {res}26{txt}, x >= {res}9{txt}, p = 0.5) = {res} 0.9622

{txt}  Ho: median of nbs_norp - m_mean = 0 vs.
  Ha: median of nbs_norp - m_mean < 0
      Pr(#negative >= {res}17{txt}) =
         Binomial(n = {res}26{txt}, x >= {res}17{txt}, p = 0.5) = {res} 0.0843

{txt}Two-sided test:
  Ho: median of nbs_norp - m_mean = 0 vs.
  Ha: median of nbs_norp - m_mean != 0
      Pr(#positive >= {res}17{txt} or #negative >= {res}17{txt}) =
         min(1, 2*Binomial(n = {res}26{txt}, x >= {res}17{txt}, p = 0.5)) = {res} 0.1686
{txt}
{com}. signtest        nbs_norp        =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        15{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs_norp - minimax = 0 vs.
  Ha: median of nbs_norp - minimax > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.3642

{txt}  Ho: median of nbs_norp - minimax = 0 vs.
  Ha: median of nbs_norp - minimax < 0
      Pr(#negative >= {res}15{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.7566

{txt}Two-sided test:
  Ho: median of nbs_norp - minimax = 0 vs.
  Ha: median of nbs_norp - minimax != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.7283
{txt}
{com}. 
. * column 7
. signtest        comp    =       m_mean

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        16{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        15{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of comp - m_mean = 0 vs.
  Ha: median of comp - m_mean > 0
      Pr(#positive >= {res}16{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5000

{txt}  Ho: median of comp - m_mean = 0 vs.
  Ha: median of comp - m_mean < 0
      Pr(#negative >= {res}15{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.6399

{txt}Two-sided test:
  Ho: median of comp - m_mean = 0 vs.
  Ha: median of comp - m_mean != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        comp    =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}        16
    {txt}negative {c |}{res}{col 17}        14{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of comp - minimax = 0 vs.
  Ha: median of comp - minimax > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.2983

{txt}  Ho: median of comp - minimax = 0 vs.
  Ha: median of comp - minimax < 0
      Pr(#negative >= {res}14{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}14{txt}, p = 0.5) = {res} 0.8115

{txt}Two-sided test:
  Ho: median of comp - minimax = 0 vs.
  Ha: median of comp - minimax != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.5966
{txt}
{com}. 
. * column 8
. signtest        m_mean  =       minimax

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        15{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of m_mean - minimax = 0 vs.
  Ha: median of m_mean - minimax > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.3642

{txt}  Ho: median of m_mean - minimax = 0 vs.
  Ha: median of m_mean - minimax < 0
      Pr(#negative >= {res}15{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.7566

{txt}Two-sided test:
  Ho: median of m_mean - minimax = 0 vs.
  Ha: median of m_mean - minimax != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.7283
{txt}
{com}. 
. 
. ***************** Table 2
. * Cells and one-sided sign tests
. * The table after the command displays the cells in Table 2
. * Below are the one-sided sign tests
. signtest        PROCrpAD        =       PROCnorpAD /* cells entries column 1 rows 1-3 and one-sided sign tests*/

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         6{col 29}       3.5
    {txt}negative {c |}{res}{col 17}         1{col 29}       3.5
        {txt}zero {c |}{res}{col 17}        28{col 29}        28
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrpAD - PROCnorpAD = 0 vs.
  Ha: median of PROCrpAD - PROCnorpAD > 0
      Pr(#positive >= {res}6{txt}) =
         Binomial(n = {res}7{txt}, x >= {res}6{txt}, p = 0.5) = {res} 0.0625

{txt}  Ho: median of PROCrpAD - PROCnorpAD = 0 vs.
  Ha: median of PROCrpAD - PROCnorpAD < 0
      Pr(#negative >= {res}1{txt}) =
         Binomial(n = {res}7{txt}, x >= {res}1{txt}, p = 0.5) = {res} 0.9922

{txt}Two-sided test:
  Ho: median of PROCrpAD - PROCnorpAD = 0 vs.
  Ha: median of PROCrpAD - PROCnorpAD != 0
      Pr(#positive >= {res}6{txt} or #negative >= {res}6{txt}) =
         min(1, 2*Binomial(n = {res}7{txt}, x >= {res}6{txt}, p = 0.5)) = {res} 0.1250
{txt}
{com}. signtest        PROCrpAD        =       nbsAD /* cells entries column 1 rows 4-6 and one-sided sign tests*/

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         9{col 29}      11.5
    {txt}negative {c |}{res}{col 17}        14{col 29}      11.5
        {txt}zero {c |}{res}{col 17}        12{col 29}        12
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrpAD - nbsAD = 0 vs.
  Ha: median of PROCrpAD - nbsAD > 0
      Pr(#positive >= {res}9{txt}) =
         Binomial(n = {res}23{txt}, x >= {res}9{txt}, p = 0.5) = {res} 0.8950

{txt}  Ho: median of PROCrpAD - nbsAD = 0 vs.
  Ha: median of PROCrpAD - nbsAD < 0
      Pr(#negative >= {res}14{txt}) =
         Binomial(n = {res}23{txt}, x >= {res}14{txt}, p = 0.5) = {res} 0.2024

{txt}Two-sided test:
  Ho: median of PROCrpAD - nbsAD = 0 vs.
  Ha: median of PROCrpAD - nbsAD != 0
      Pr(#positive >= {res}14{txt} or #negative >= {res}14{txt}) =
         min(1, 2*Binomial(n = {res}23{txt}, x >= {res}14{txt}, p = 0.5)) = {res} 0.4049
{txt}
{com}. signtest        PROCrpAD        =       nbs_norpAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        17{col 29}        17
    {txt}negative {c |}{res}{col 17}        17{col 29}        17
        {txt}zero {c |}{res}{col 17}         1{col 29}         1
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrpAD - nbs_norpAD = 0 vs.
  Ha: median of PROCrpAD - nbs_norpAD > 0
      Pr(#positive >= {res}17{txt}) =
         Binomial(n = {res}34{txt}, x >= {res}17{txt}, p = 0.5) = {res} 0.5679

{txt}  Ho: median of PROCrpAD - nbs_norpAD = 0 vs.
  Ha: median of PROCrpAD - nbs_norpAD < 0
      Pr(#negative >= {res}17{txt}) =
         Binomial(n = {res}34{txt}, x >= {res}17{txt}, p = 0.5) = {res} 0.5679

{txt}Two-sided test:
  Ho: median of PROCrpAD - nbs_norpAD = 0 vs.
  Ha: median of PROCrpAD - nbs_norpAD != 0
      Pr(#positive >= {res}17{txt} or #negative >= {res}17{txt}) =
         min(1, 2*Binomial(n = {res}34{txt}, x >= {res}17{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        PROCrpAD        =       compAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        15{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        16{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrpAD - compAD = 0 vs.
  Ha: median of PROCrpAD - compAD > 0
      Pr(#positive >= {res}15{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.6399

{txt}  Ho: median of PROCrpAD - compAD = 0 vs.
  Ha: median of PROCrpAD - compAD < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5000

{txt}Two-sided test:
  Ho: median of PROCrpAD - compAD = 0 vs.
  Ha: median of PROCrpAD - compAD != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        PROCrpAD        =       m_meanAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        16{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        17{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrpAD - m_meanAD = 0 vs.
  Ha: median of PROCrpAD - m_meanAD > 0
      Pr(#positive >= {res}16{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.6358

{txt}  Ho: median of PROCrpAD - m_meanAD = 0 vs.
  Ha: median of PROCrpAD - m_meanAD < 0
      Pr(#negative >= {res}17{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}17{txt}, p = 0.5) = {res} 0.5000

{txt}Two-sided test:
  Ho: median of PROCrpAD - m_meanAD = 0 vs.
  Ha: median of PROCrpAD - m_meanAD != 0
      Pr(#positive >= {res}17{txt} or #negative >= {res}17{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}17{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        PROCrpAD        =       minimaxAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        16{col 29}        16
    {txt}negative {c |}{res}{col 17}        16{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCrpAD - minimaxAD = 0 vs.
  Ha: median of PROCrpAD - minimaxAD > 0
      Pr(#positive >= {res}16{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5700

{txt}  Ho: median of PROCrpAD - minimaxAD = 0 vs.
  Ha: median of PROCrpAD - minimaxAD < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5700

{txt}Two-sided test:
  Ho: median of PROCrpAD - minimaxAD = 0 vs.
  Ha: median of PROCrpAD - minimaxAD != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. 
. signtest        PROCnorpAD      =       nbsAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}         7{col 29}      13.5
    {txt}negative {c |}{res}{col 17}        20{col 29}      13.5
        {txt}zero {c |}{res}{col 17}         8{col 29}         8
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorpAD - nbsAD = 0 vs.
  Ha: median of PROCnorpAD - nbsAD > 0
      Pr(#positive >= {res}7{txt}) =
         Binomial(n = {res}27{txt}, x >= {res}7{txt}, p = 0.5) = {res} 0.9970

{txt}  Ho: median of PROCnorpAD - nbsAD = 0 vs.
  Ha: median of PROCnorpAD - nbsAD < 0
      Pr(#negative >= {res}20{txt}) =
         Binomial(n = {res}27{txt}, x >= {res}20{txt}, p = 0.5) = {res} 0.0096

{txt}Two-sided test:
  Ho: median of PROCnorpAD - nbsAD = 0 vs.
  Ha: median of PROCnorpAD - nbsAD != 0
      Pr(#positive >= {res}20{txt} or #negative >= {res}20{txt}) =
         min(1, 2*Binomial(n = {res}27{txt}, x >= {res}20{txt}, p = 0.5)) = {res} 0.0192
{txt}
{com}. signtest        PROCnorpAD      =       nbs_norpAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        13{col 29}        16
    {txt}negative {c |}{res}{col 17}        19{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorpAD - nbs_norpAD = 0 vs.
  Ha: median of PROCnorpAD - nbs_norpAD > 0
      Pr(#positive >= {res}13{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}13{txt}, p = 0.5) = {res} 0.8923

{txt}  Ho: median of PROCnorpAD - nbs_norpAD = 0 vs.
  Ha: median of PROCnorpAD - nbs_norpAD < 0
      Pr(#negative >= {res}19{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}19{txt}, p = 0.5) = {res} 0.1885

{txt}Two-sided test:
  Ho: median of PROCnorpAD - nbs_norpAD = 0 vs.
  Ha: median of PROCnorpAD - nbs_norpAD != 0
      Pr(#positive >= {res}19{txt} or #negative >= {res}19{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}19{txt}, p = 0.5)) = {res} 0.3771
{txt}
{com}. signtest        PROCnorpAD      =       compAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}      14.5
    {txt}negative {c |}{res}{col 17}        18{col 29}      14.5
        {txt}zero {c |}{res}{col 17}         6{col 29}         6
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorpAD - compAD = 0 vs.
  Ha: median of PROCnorpAD - compAD > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9320

{txt}  Ho: median of PROCnorpAD - compAD = 0 vs.
  Ha: median of PROCnorpAD - compAD < 0
      Pr(#negative >= {res}18{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.1325

{txt}Two-sided test:
  Ho: median of PROCnorpAD - compAD = 0 vs.
  Ha: median of PROCnorpAD - compAD != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}29{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.2649
{txt}
{com}. signtest        PROCnorpAD      =       m_meanAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        12{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        19{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorpAD - m_meanAD = 0 vs.
  Ha: median of PROCnorpAD - m_meanAD > 0
      Pr(#positive >= {res}12{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}12{txt}, p = 0.5) = {res} 0.9252

{txt}  Ho: median of PROCnorpAD - m_meanAD = 0 vs.
  Ha: median of PROCnorpAD - m_meanAD < 0
      Pr(#negative >= {res}19{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}19{txt}, p = 0.5) = {res} 0.1405

{txt}Two-sided test:
  Ho: median of PROCnorpAD - m_meanAD = 0 vs.
  Ha: median of PROCnorpAD - m_meanAD != 0
      Pr(#positive >= {res}19{txt} or #negative >= {res}19{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}19{txt}, p = 0.5)) = {res} 0.2810
{txt}
{com}. signtest        PROCnorpAD      =       minimaxAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}      14.5
    {txt}negative {c |}{res}{col 17}        18{col 29}      14.5
        {txt}zero {c |}{res}{col 17}         6{col 29}         6
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of PROCnorpAD - minimaxAD = 0 vs.
  Ha: median of PROCnorpAD - minimaxAD > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9320

{txt}  Ho: median of PROCnorpAD - minimaxAD = 0 vs.
  Ha: median of PROCnorpAD - minimaxAD < 0
      Pr(#negative >= {res}18{txt}) =
         Binomial(n = {res}29{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.1325

{txt}Two-sided test:
  Ho: median of PROCnorpAD - minimaxAD = 0 vs.
  Ha: median of PROCnorpAD - minimaxAD != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}29{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.2649
{txt}
{com}. 
. signtest        nbsAD   =       nbs_norpAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        26{col 29}      17.5
    {txt}negative {c |}{res}{col 17}         9{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbsAD - nbs_norpAD = 0 vs.
  Ha: median of nbsAD - nbs_norpAD > 0
      Pr(#positive >= {res}26{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}26{txt}, p = 0.5) = {res} 0.0030

{txt}  Ho: median of nbsAD - nbs_norpAD = 0 vs.
  Ha: median of nbsAD - nbs_norpAD < 0
      Pr(#negative >= {res}9{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}9{txt}, p = 0.5) = {res} 0.9991

{txt}Two-sided test:
  Ho: median of nbsAD - nbs_norpAD = 0 vs.
  Ha: median of nbsAD - nbs_norpAD != 0
      Pr(#positive >= {res}26{txt} or #negative >= {res}26{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}26{txt}, p = 0.5)) = {res} 0.0060
{txt}
{com}. signtest        nbsAD   =       compAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        26{col 29}      16.5
    {txt}negative {c |}{res}{col 17}         7{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbsAD - compAD = 0 vs.
  Ha: median of nbsAD - compAD > 0
      Pr(#positive >= {res}26{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}26{txt}, p = 0.5) = {res} 0.0007

{txt}  Ho: median of nbsAD - compAD = 0 vs.
  Ha: median of nbsAD - compAD < 0
      Pr(#negative >= {res}7{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}7{txt}, p = 0.5) = {res} 0.9998

{txt}Two-sided test:
  Ho: median of nbsAD - compAD = 0 vs.
  Ha: median of nbsAD - compAD != 0
      Pr(#positive >= {res}26{txt} or #negative >= {res}26{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}26{txt}, p = 0.5)) = {res} 0.0013
{txt}
{com}. signtest        nbsAD   =       m_meanAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        26{col 29}      17.5
    {txt}negative {c |}{res}{col 17}         9{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbsAD - m_meanAD = 0 vs.
  Ha: median of nbsAD - m_meanAD > 0
      Pr(#positive >= {res}26{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}26{txt}, p = 0.5) = {res} 0.0030

{txt}  Ho: median of nbsAD - m_meanAD = 0 vs.
  Ha: median of nbsAD - m_meanAD < 0
      Pr(#negative >= {res}9{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}9{txt}, p = 0.5) = {res} 0.9991

{txt}Two-sided test:
  Ho: median of nbsAD - m_meanAD = 0 vs.
  Ha: median of nbsAD - m_meanAD != 0
      Pr(#positive >= {res}26{txt} or #negative >= {res}26{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}26{txt}, p = 0.5)) = {res} 0.0060
{txt}
{com}. signtest        nbsAD   =       minimaxAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        27{col 29}      17.5
    {txt}negative {c |}{res}{col 17}         8{col 29}      17.5
        {txt}zero {c |}{res}{col 17}         0{col 29}         0
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbsAD - minimaxAD = 0 vs.
  Ha: median of nbsAD - minimaxAD > 0
      Pr(#positive >= {res}27{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}27{txt}, p = 0.5) = {res} 0.0009

{txt}  Ho: median of nbsAD - minimaxAD = 0 vs.
  Ha: median of nbsAD - minimaxAD < 0
      Pr(#negative >= {res}8{txt}) =
         Binomial(n = {res}35{txt}, x >= {res}8{txt}, p = 0.5) = {res} 0.9997

{txt}Two-sided test:
  Ho: median of nbsAD - minimaxAD = 0 vs.
  Ha: median of nbsAD - minimaxAD != 0
      Pr(#positive >= {res}27{txt} or #negative >= {res}27{txt}) =
         min(1, 2*Binomial(n = {res}35{txt}, x >= {res}27{txt}, p = 0.5)) = {res} 0.0019
{txt}
{com}. 
. signtest        nbs_norpAD      =       compAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        17{col 29}        15
    {txt}negative {c |}{res}{col 17}        13{col 29}        15
        {txt}zero {c |}{res}{col 17}         5{col 29}         5
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs_norpAD - compAD = 0 vs.
  Ha: median of nbs_norpAD - compAD > 0
      Pr(#positive >= {res}17{txt}) =
         Binomial(n = {res}30{txt}, x >= {res}17{txt}, p = 0.5) = {res} 0.2923

{txt}  Ho: median of nbs_norpAD - compAD = 0 vs.
  Ha: median of nbs_norpAD - compAD < 0
      Pr(#negative >= {res}13{txt}) =
         Binomial(n = {res}30{txt}, x >= {res}13{txt}, p = 0.5) = {res} 0.8192

{txt}Two-sided test:
  Ho: median of nbs_norpAD - compAD = 0 vs.
  Ha: median of nbs_norpAD - compAD != 0
      Pr(#positive >= {res}17{txt} or #negative >= {res}17{txt}) =
         min(1, 2*Binomial(n = {res}30{txt}, x >= {res}17{txt}, p = 0.5)) = {res} 0.5847
{txt}
{com}. signtest        nbs_norpAD      =       m_meanAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        18{col 29}        13
    {txt}negative {c |}{res}{col 17}         8{col 29}        13
        {txt}zero {c |}{res}{col 17}         9{col 29}         9
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs_norpAD - m_meanAD = 0 vs.
  Ha: median of nbs_norpAD - m_meanAD > 0
      Pr(#positive >= {res}18{txt}) =
         Binomial(n = {res}26{txt}, x >= {res}18{txt}, p = 0.5) = {res} 0.0378

{txt}  Ho: median of nbs_norpAD - m_meanAD = 0 vs.
  Ha: median of nbs_norpAD - m_meanAD < 0
      Pr(#negative >= {res}8{txt}) =
         Binomial(n = {res}26{txt}, x >= {res}8{txt}, p = 0.5) = {res} 0.9855

{txt}Two-sided test:
  Ho: median of nbs_norpAD - m_meanAD = 0 vs.
  Ha: median of nbs_norpAD - m_meanAD != 0
      Pr(#positive >= {res}18{txt} or #negative >= {res}18{txt}) =
         min(1, 2*Binomial(n = {res}26{txt}, x >= {res}18{txt}, p = 0.5)) = {res} 0.0755
{txt}
{com}. signtest        nbs_norpAD      =       minimaxAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        22{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of nbs_norpAD - minimaxAD = 0 vs.
  Ha: median of nbs_norpAD - minimaxAD > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9825

{txt}  Ho: median of nbs_norpAD - minimaxAD = 0 vs.
  Ha: median of nbs_norpAD - minimaxAD < 0
      Pr(#negative >= {res}22{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}22{txt}, p = 0.5) = {res} 0.0401

{txt}Two-sided test:
  Ho: median of nbs_norpAD - minimaxAD = 0 vs.
  Ha: median of nbs_norpAD - minimaxAD != 0
      Pr(#positive >= {res}22{txt} or #negative >= {res}22{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}22{txt}, p = 0.5)) = {res} 0.0801
{txt}
{com}. 
. signtest        compAD  =       m_meanAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        15{col 29}      15.5
    {txt}negative {c |}{res}{col 17}        16{col 29}      15.5
        {txt}zero {c |}{res}{col 17}         4{col 29}         4
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of compAD - m_meanAD = 0 vs.
  Ha: median of compAD - m_meanAD > 0
      Pr(#positive >= {res}15{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}15{txt}, p = 0.5) = {res} 0.6399

{txt}  Ho: median of compAD - m_meanAD = 0 vs.
  Ha: median of compAD - m_meanAD < 0
      Pr(#negative >= {res}16{txt}) =
         Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5) = {res} 0.5000

{txt}Two-sided test:
  Ho: median of compAD - m_meanAD = 0 vs.
  Ha: median of compAD - m_meanAD != 0
      Pr(#positive >= {res}16{txt} or #negative >= {res}16{txt}) =
         min(1, 2*Binomial(n = {res}31{txt}, x >= {res}16{txt}, p = 0.5)) = {res} 1.0000
{txt}
{com}. signtest        compAD  =       minimaxAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}        16
    {txt}negative {c |}{res}{col 17}        21{col 29}        16
        {txt}zero {c |}{res}{col 17}         3{col 29}         3
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of compAD - minimaxAD = 0 vs.
  Ha: median of compAD - minimaxAD > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9749

{txt}  Ho: median of compAD - minimaxAD = 0 vs.
  Ha: median of compAD - minimaxAD < 0
      Pr(#negative >= {res}21{txt}) =
         Binomial(n = {res}32{txt}, x >= {res}21{txt}, p = 0.5) = {res} 0.0551

{txt}Two-sided test:
  Ho: median of compAD - minimaxAD = 0 vs.
  Ha: median of compAD - minimaxAD != 0
      Pr(#positive >= {res}21{txt} or #negative >= {res}21{txt}) =
         min(1, 2*Binomial(n = {res}32{txt}, x >= {res}21{txt}, p = 0.5)) = {res} 0.1102
{txt}
{com}. 
. signtest        m_meanAD        =       minimaxAD

{txt}Sign test

        sign {c |}    observed    expected
{hline 13}{c +}{hline 24}
    positive {c |}{res}{col 17}        11{col 29}      16.5
    {txt}negative {c |}{res}{col 17}        22{col 29}      16.5
        {txt}zero {c |}{res}{col 17}         2{col 29}         2
{txt}{hline 13}{c +}{hline 24}
         all {c |}{res}{col 17}        35{col 29}        35

{txt}One-sided tests:
  Ho: median of m_meanAD - minimaxAD = 0 vs.
  Ha: median of m_meanAD - minimaxAD > 0
      Pr(#positive >= {res}11{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}11{txt}, p = 0.5) = {res} 0.9825

{txt}  Ho: median of m_meanAD - minimaxAD = 0 vs.
  Ha: median of m_meanAD - minimaxAD < 0
      Pr(#negative >= {res}22{txt}) =
         Binomial(n = {res}33{txt}, x >= {res}22{txt}, p = 0.5) = {res} 0.0401

{txt}Two-sided test:
  Ho: median of m_meanAD - minimaxAD = 0 vs.
  Ha: median of m_meanAD - minimaxAD != 0
      Pr(#positive >= {res}22{txt} or #negative >= {res}22{txt}) =
         min(1, 2*Binomial(n = {res}33{txt}, x >= {res}22{txt}, p = 0.5)) = {res} 0.0801
{txt}
{com}. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Fabio Franchino\Dropbox\Project EU Fiscal Policy\3 Bargaining outcomes\Sent to PSRM\third submission\Replication\tables_1_2.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}12 Apr 2021, 09:54:14
{txt}{.-}
{smcl}
{txt}{sf}{ul off}